﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ymatou.Evaluate.Seller.Model.Dto
{
    /// <summary>
    /// 商品评论
    /// </summary>
    public class ProductEvaluate
    {
        /// <summary>
        /// 商品评价Id
        /// </summary>
        public int ProdEvalId { get; set; }

        /// <summary>
        /// 商品Id
        /// </summary>
        public string ProductId { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 商品主图
        /// </summary>
        public string ProductImg { get; set; }

        /// <summary>
        /// 商品评分
        /// </summary>
        public decimal Score { get; set; }

        /// <summary>
        /// 商品规格描述
        /// </summary>
        public string CatalogDesc { get; set; }

        /// <summary>
        /// 订单编号
        /// </summary>
        public int OrderId { get; set; }

        /// <summary>
        /// 服务评分
        /// </summary>
        public decimal ServiceScore { get; set; }

        /// <summary>
        /// 物流评分
        /// </summary>
        public decimal LogisticsScore { get; set; }

        /// <summary>
        /// 买家id
        /// </summary>
        public int BuyerId { get; set; }

        /// <summary>
        /// 买家用户名
        /// </summary>
        public string BuyerName { get; set; }

        /// <summary>
        /// 是否已回复
        /// </summary>
        public bool IsReplyed { get; set; }

        /// <summary>
        /// 评论是否已删除
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 评论方式
        /// </summary>
        public EvaluateWayEnum EvaluateWay { get; set; }

        /// <summary>
        /// 评论内容
        /// </summary>
        public string Comments { get; set; }

        /// <summary>
        /// 评论时间
        /// </summary>
        public DateTime EvalTime { get; set; }

        /// <summary>
        /// 评论附加图片
        /// </summary>
        public List<string> Imgs { get; set; }

        /// <summary>
        /// 卖家回复内容
        /// </summary>
        public string ReplyComments { get; set; }

        /// <summary>
        /// 卖家回复时间
        /// </summary>
        public DateTime? ReplyEvalTime { get; set; }
    }
}
